DEVICE: HOME// ;;9999  SSH VIRTUAL TERMINAL

VistA Patch Display                                                   Page: 1
=============================================================================
Run Date: DEC 06, 2018                      Designation: PSO*7*477  TEST v57
Package : OUTPATIENT PHARMACY               Priority   : MANDATORY
Version : 7                                 Status     : UNDER DEVELOPMENT
=============================================================================

Associated patches: (u)OR*3*377        install with patch       `PSO*7*477'
                    (v)PSO*7*466   <<= must be installed BEFORE `PSO*7*477'
                    (v)PSO*7*508   <<= must be installed BEFORE `PSO*7*477'
                    

Subject:  CPRS V31.B - DAYS SUPPLY AND COPY

Category:  ROUTINE

Description:
===========
 
This patch is part of CPRS v31 updates. It includes changes to the Outpatient
Pharmacy application related to DAYS SUPPLY values over 90 days verification
when a specific dispense drug is not defined in the pending order from CPRS.
This patch also contains a new function for CPRS to call before authorizing
the user to copy an Outpatient Pharmacy order.
 
Below Are some details regarding the two changes in this patch:
 
1. Patient Prescription Processing [PSO LM BACKDOOR]
   Complete Orders from OERR [PSO LMOE FINISH]
   -------------------------------------------------------------
   When trying to finish an order if the Outpatient Pharmacy user selects a
   dispense drug that has a maximum days supply limit lower than the value
   that was entered in the order by CPRS, the software will inform the user
   that the current value for DAYS SUPPLY is invalid and it will prompt the
   user to enter a new value within the maximum value allowed for the 
   dispense drug chosen, as shown in the example below:
 
   Pending OP Orders (ROUTINE)  Jan 11, 2017@13:52:45        Page:   1 of 2 
   TEST,PATIENT                                                       <A> 
     PID: 666-66-6666                              Ht(cm): _______ (______)
     DOB: DEC 02,1900 (116)                        Wt(kg): _______ (______)
   ------------------------------------------------------------------------
   *(1) Orderable Item: FUROSEMIDE TAB <DIN>                                  
    (2)           Drug: No Dispense Drug Selected                      
                  Verb: TAKE                                            
    (3)        *Dosage: 40MG                                          
                *Route: BY MOUTH                              
             *Schedule: DAILY                                       
    (4)   Pat Instruct:                                                
     Provider Comments:                                                   
          Instructions: TAKE 1 TABLET BY MOUTH DAILY           
    (5) Patient Status: NBC                                              
    (6)     Issue Date: JAN 5,2017        (7) Fill Date: JAN 11,2017        
    (8)    Days Supply: 180               (9)   QTY (  ): 180              
   ------------------------------------------------------------------------
   +         Enter ?? for more actions                              
   Select Item(s): Next Screen// FN    Finish  
   
   DRUG NAME REQUIRED
   
   Instructions: TAKE 1 TABLET BY MOUTH DAILY
    
   The following Drug(s) are available for selection:
   1. FUROSEMIDE 40MG TAB
   2. FUROSEMIDE 20 MG
   3. FUROSEMIDE 40MG 60'S
   4. FUROSEMIDE 20MG TABS 
 
   Select Drug by number:  (1-4): 1
   
   Invalid DAYS SUPPLY value (180), resetting it to 90 (maximum allowed).
   
   DAYS SUPPLY:  (1-90): 90// 
   
2. A new Outpatient Pharmacy API called $$ORCOPY^PSOORCPY was created for
   Computerized Patient Record System (CPRS) to call in order to verify
   whether an Outpatient Pharmacy order can be copied or not. It will check
   to verify the dispense drug is still active and still marked for the
   outpatient application. The new API returns the following 
 
   "-1^Not a Valid Outpatient Medication Order." - The prescription record
    cannot be found.  
     
   "0^<Reason>" - O indicates the order cannot be copied and the <Reason> why
   it cannot be copied (e.g., "0^This Drug has been Inactivated.") 
 
   "1" - Order can be copied.
 
3. A new VistA Integration Control Registration (ICR) #6719 was created to 
   allow the Computerized Patient Record System V. 1.0 (CPRS) to call the new
   Outpatient Pharmacy API $$ORCOPY^PSOORCPY (see #2 above) in order to
   prevent the copy of Outpatient Pharmacy order in certain situations, such
   as dispense drug is inactive or the dispense drug is no longer marked for
   outpatient pharmacy use.
 
4. The usage of a dosage with an EXCEPT conjunction during the
   prescription order process was removed from Patient Prescription
   Processing [PSO LM BACKDOOR], Discontinue Prescription(s) [PSO C], and
   Complete Orders from OERR [PSO LMOE FINISH] options. For prescriptions
   that have a dosage with an except conjunction, users will no longer be
   able to copy, renew, or reinstate such orders.  Users will be able to
   edit these type orders to remove the except conjunction before
   accepting/finishing the prescription. 
 
   The conjunction prompt will look like:
 
      CONJUNCTION: ??
 
      This code is used to help build a Possible Sig for a complex
      medication dose.  This code usually expands to an "and" or a "then".
      Choose from: 
       A        AND
       T        THEN
 
      CONJUNCTION:
 
   When copying an order that contains an exception conjunction the 
   following message will be displayed on the message bar:
 
      OP Medications (ACTIVE)      Jun 26, 2018@06:09:58      Page: 1 of 4
      FIVE,OUTPATIENT
      PID: xxx-xx-xxxx                        Ht(cm): _______ (______)
      DOB: MAR 9,xxxx (xx)                    Wt(kg): _______ (______)
      SEX: xxxx                            
      CrCL: <Not Found> (CREAT: Not Found)  BSA (m2): _______ 
                                              
                    Rx #: 501229$
      (1) *Orderable Item: SIMVASTATIN TAB
      (2)       CMOP Drug: SIMVASTATIN 10MG TAB
                      NDC: 00006-0735-82
      (3)         *Dosage: 10 (MG)
                     Verb: TAKE
           Dispense Units: 1
                     Noun: TABLET
                   *Route: ORAL (BY MOUTH)
                *Schedule: QPM
                *Duration: 7D (DAYS)
             *Conjunction: THEN
     +         Cannot COPY. Invalid 'except' conjunction!
     DC   Discontinue          PR   Partial              RL   Release
     ED   Edit                 RF   Refill               RN   Renew
     Select Action: Next Screen//
 
   Renewals will have similar messaging:
 
     Cannot be renewed - invalid Except conjunction 
 
   Reinstating orders from Patient Prescription Process option will 
   display the following message:
 
     Cannot be Reinstated - dosage contains an invalid Except conjunction
 
   Reinstating orders from the Discontinue Prescription(s) option will 
   display:
 
     Cannot be Reinstated - dosage contains an invalid Except conjunction
 
   or the prescription number will be displayed with the following 
   message:
 
      The Following Rx Number(s) Are Invalid Choices, Expired, 
      Discontinued by Provider, invalid except conjunction or Marked As
      Deleted:
               501222
      Press Return to Continue: 
 
Patch Components
================
  
Files & Fields Associated:
 
File Name (#)      Field Name (#)                     New/Modified/Deleted
-------------      --------------                     --------------------
PRESCRIPTION       113 (Sub-file #52.0113, field #5   Modified
 
 
Mail Groups Associated:
 
Mail Group Name                                       New/Modified/Deleted
---------------                                       --------------------
N/A   
  
Options Associated:
  
Option Name                   Type                    New/Modified/Deleted
-----------                   ----                    --------------------
N/A
   
Protocols Associated:
 
Protocol Name                                         New/Modified/Deleted
-------------                                         --------------------
N/A
   
Security Keys Associated:
 
Security Key Name                                     New/Modified/Deleted
-------------                                         --------------------
N/A
 
Templates Associated:
 
Template Name                Type    File Name (#)    New/Modified/Deleted
-------------                ----    -------------    --------------------
N/A
 
New Service Requests (NSRs):
----------------------------
TBD
    
Patient Safety Issues (PSIs):
-----------------------------
N/A  
 
 
Remedy/CA-SDM Ticket(s) & Overviews:
-----------------------------------
TBD
   
 
TEST Sites:
-----------
Atlanta VA Health Care System (Decatur, GA)
Hampton VA Medical Center (Hampton, VA)
Northport VA Medical Center (Northport, NY)
Louis Stokes Cleveland VA Medical Center (Cleveland, OH)
  
 
Documentation Retrieval Instructions:
-------------------------------------
N/A
  
Patch Installation: 
 
Installation Instructions:
--------------------------
Refer to the CPRS version 31.b installation guide.  
 


Routine Information:
====================


The second line of each of these routines now looks like:
;;7.0;OUTPATIENT PHARMACY;**[Patch List]**;DEC 1997;Build 124

The checksums below are new checksums, and
 can be checked with CHECK1^XTSUMBLD.

Routine Name: PSOCAN
    Before: B55445842   After: B54646874  **11,21,24,27,32,37,88,117,131,
                                           185,253,251,375,379,390,413,
                                           372,416,477**
Routine Name: PSOCAN1
    Before: B63054494   After: B62401208  **8,20,24,27,32,131,163,185,
                                           238,372,442,477**
Routine Name: PSOORCPY
    Before: B37014700   After: B49627866  **10,21,27,32,46,100,117,148,
                                           313,411,444,468,504,477**
Routine Name: PSOORNW1
    Before: B34134148   After: B35569635  **23,46,78,117,131,133,172,148,
                                           222,268,206,251,379,391,313,
                                           444,469,422,477**
Routine Name: PSORENW
    Before: B49878168   After: B50007439  **11,27,30,46,71,96,100,130,
                                           148,206,388,390,417,313,411,
                                           504,477**
Routine Name: PSOUTL
    Before:B169155979   After:B174200090  **1,21,126,174,218,259,324,390,
                                           313,411,466,477**
 
Routine list of preceding patches: 416, 422, 442, 466, 504


=============================================================================
User Information:  
  Entered By  :   CRUMLEY,JAMIE        Date Entered  :   JAN  3,2017
  Completed By:                        Date Completed:   
  Released By :                        Date Released :   
=============================================================================


